public class agent implements Userserver{
    private UserserverImpl userserver;

    public void setUserserver(UserserverImpl userserver) {
        this.userserver = userserver;
    }

    public void add() {
        fangfa("add");
        System.out.println("zeng");
    }

    public void delete() {
        fangfa("delete");
        System.out.println("shan");
    }

    public void updata() {
        fangfa("updata");
        System.out.println("gai");
    }

    public void query() {
        fangfa("query");
        System.out.println("cha");
    }
    public void fangfa(String a){
        System.out.println("增加一个"+a+",哈哈哈");
    }
}
